﻿<!--#include file="utf-8.asp"-->
<!--#include file="sql.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="config.asp" -->
<%
'######################################
' 安科外贸网站管理系统中英文双语版
' anke Enterprise Web Site Management System
' 官方网站：http://www.shejifang.org
' 联系QQ：357052954
' 淘宝店： http://shejifang.taobao.com
'######################################
%>
<%
dim id,rs,exec,title
id = request.querystring("id")
if id <> "" then

if not isnumeric(id) then
response.write "<script>alert('非法操作');history.back();</script>"
response.end
end if
 
exec="select * from shop where id="&id
set rs=server.createobject("adodb.recordset") 
rs.open exec,conn,1,1
if rs.eof then
rs.close
set rs = nothing
conn.close
set conn = nothing
response.write "<script>alert('不存在此数据');history.back();</script>"
response.end
else
title = rs("title")
end if 

else
title = ""
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>在线订购-<%=config("title")%></title>
<meta name="keywords" content="<%=config("keywords")%>" />
<meta name="description" content="<%=config("description")%>" />
<link href="images/style.css" type="text/css" rel="stylesheet" />
</head>
<body>
<!--#include file="header.asp" -->
<table width="913" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="193" valign="top">
    <table width="193" border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top">
        <!--左侧导航-->
        <!--#include file="left2.asp"-->
        </td>
      </tr>
      <tr>
        <td width="193" height="324" align="center" valign="top">
        <!--热点产品-->
        <!--#include file="hot.asp"-->
        </td>
      </tr>
    </table></td>
    <td width="720" valign="top">
    
    <table width="720" height="639" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td height="34" colspan="2" align="right" valign="middle" background="images/title.jpg">
        <span style="float:left; padding:2px 0px 0px 24px; font-weight:bold; font-size:14px; color:#333333;">在线订购</span>
        <a href="main.asp">网站首页</a> ><a href="dg.asp">在线订购</a>
        </td>
	</tr>
	<tr>
		<td height="113" colspan="2">
			<img src="images/about_02.jpg" width="720" height="113"></td>
	</tr>
	<tr>
		<td width="17" height="30">
			<img src="images/about_03.jpg" width="17" height="30"></td>
		<td width="703" height="30" valign="middle" style="font-weight:bold; font-size:13px; color:#333333; padding-top:2px;">在线订购</td>
	</tr>
	<tr>
		<td height="457" colspan="2" valign="top">
        <!--在线订购-->
        <form id="form1" name="form1" method="post" action="dg_ok.asp">

        <table width="90%" border="0" align="center" cellpadding="7" cellspacing="2">
          <tr>
            <td width="19%" align="right">产品名称</td>
            <td width="81%"><label>
              <input name="title" type="text" value="<%=title%>" size="50"  />
            </label></td>
          </tr>
          <tr>
            <td align="right">订购数量</td>
            <td><input name="sl" type="text" size="50"  /></td>
          </tr>
          <tr>
            <td align="right">联系人</td>
            <td><input name="name" type="text" size="50"  /></td>
          </tr>
          <tr>
            <td align="right">联系电话</td>
            <td><input name="tel" type="text" size="50"  /></td>
          </tr>
          <tr>
            <td align="right">联系邮箱</td>
            <td><input name="mail" type="text" size="50"  /></td>
          </tr>
          <tr>
            <td align="right">备 注</td>
            <td><textarea name="bz" cols="50" rows="8"></textarea></td>
          </tr>
          <tr>
            <td align="right">验证码</td>
            <td><input name="VerifyCode" class="box" style="width:50px;">&nbsp;<img id="vcodeImg" src="about:blank" onerror="this.onerror=null;this.src='VerifyCode.asp?s='+Math.random();" alt="验证码" title="看不清楚?换一张" style="margin-right:8px;cursor:pointer;" onClick="src='VerifyCode.asp?s='+Math.random()"/></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td><input type="submit" name="button" id="button" value="提交订单" /></td>
          </tr>
        </table>
        </form>
        </td>
	</tr>
</table>
    
    </td>
  </tr>
</table>
<!--#include file="foot.asp" -->
</body>
</html>
